package io.test.config;

import java.lang.reflect.Method;

import io.github.libkodi.basic_gateway.router.AbstractRouteIntercepter;
import io.vertx.core.Future;
import io.vertx.ext.web.RoutingContext;

public class RequestFilter extends AbstractRouteIntercepter {

	@Override
	public Future<Void> request(RoutingContext context, Method method) {
		return Future.future(pro -> {
			System.out.println("filter");
//			context.end("ended.");
//			pro.fail("");
			pro.complete();
		});
	}

}
